package com.ahwei.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import java.io.Serializable;

/**
 * (Video)实体类
 *
 * @author makejava
 * @since 2022-03-16 15:24:38
 */
@Data
@AllArgsConstructor
@JsonIgnoreProperties(value = { "handler" })
public class Video implements Serializable {

    private Long vid;

    private String videoName;
    /**
     * 视频Url
     */
    private String videoUrl;
    /**
     * 视频封面Url
     */
    private String coverUrl;
    /**
     * 类型
     */
    private Integer type;
    /**
     * 状态
     */
    private Integer status;

    /**
     * 状态中文
     */
    private String statusName;

    private VideoDetail videoDetail;

    public Video() {
    }

    public Video(Long vid, String videoName, String videoUrl, String coverUrl, Integer type, Integer status, VideoDetail videoDetail) {
        this.vid = vid;
        this.videoName = videoName;
        this.videoUrl = videoUrl;
        this.coverUrl = coverUrl;
        this.type = type;
        this.status = status;
        this.videoDetail = videoDetail;
    }
}

